using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
	[Serializable]
	public class Person : FlickrObject
	{
	    public Person():base(){}
	    public Person(FlickrConnection connection) : base(connection){}
	    
		[XmlAttribute("nsid", Form=XmlSchemaForm.Unqualified)]
		public string UserId;
    
		[XmlAttribute("isadmin", Form=XmlSchemaForm.Unqualified)]
		public int IsAdmin;

		[XmlAttribute("ispro", Form=XmlSchemaForm.Unqualified)]
		public int IsPro;
	
		[XmlAttribute("iconserver", Form=XmlSchemaForm.Unqualified)]
		public int IconServer;
	
		[XmlElement("username", Form=XmlSchemaForm.Unqualified)]
		public string UserName;
	
		[XmlElement("realname", Form=XmlSchemaForm.Unqualified)]
		public string RealName;
	
		[XmlElement("location", Form=XmlSchemaForm.Unqualified)]
		public string Location;

        [XmlElement("photosurl", Form = XmlSchemaForm.Unqualified)]
        public string PhotosUrl;

        [XmlElement("profileurl", Form = XmlSchemaForm.Unqualified)]
        public string ProfileUrl;
	    
		[XmlElement("photos", Form=XmlSchemaForm.Unqualified)]
		public PersonPhotosSummary PhotosSummary;

	}

}
